home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- go(the frame)
- end
-
- on keyDown
- put the key into field "The Key" of castLib "Text"
- puppetSprite(8, 1)
- set the member of sprite 8 to member "downstate" of castLib "internal"
- repeat with N = 10 to 13
- puppetSprite(N, 1)
- end repeat
- if the shiftDown then
- set the member of sprite 10 to member "Shift" of castLib "internal"
- end if
- if the commandDown then
- set the member of sprite 11 to member "Command" of castLib "internal"
- end if
- if the controlDown then
- set the member of sprite 12 to member "Control" of castLib "internal"
- end if
- if the optionDown then
- set the member of sprite 13 to member "Option" of castLib "internal"
- end if
- end
-
- on keyUp
- puppetSprite(8, 0)
- repeat with N = 10 to 13
- puppetSprite(N, 0)
- end repeat
- end
-